<?php
//
namespace app\circle\controller\admin;

use think\Request;

class IndexController extends BaseController
{

    public function __construct(Request $request)
    {
        parent::__construct($request);
    }

    public function index(){

        return $this->fetch();
    }

    public function main(){
        dump($this->adminInfo);
        return $this->fetch();
    }

    public function exitLogin(){
        cookie('circleDes',null);
        $this->success('退出登录成功！', url('admin.public/login'));
    }

}
